/*
 * test for kartograph.Path
 */
 
var kartograph = exports.kartograph = require('../dist/kartograph.js').kartograph;
var jsdom = require("jsdom");

/*
try {
	
	var src = "M43,625L42,627L46,627L43,625Z M5,491L4,491L7,494L5,491Z M183,564L184,559L184,555L186,551L189,548L192,545L195,542L192,539L191,535L193,531L195,528L198,525L199,521L196,518L196,514L195,509L198,506L202,507L205,503L206,498L206,494L210,492L210,488L211,484L212,480L214,476L216,473L220,471L224,467L225,463L221,461L223,456L219,456L215,454L211,457L207,457L203,456L199,456L201,452L201,450L197,450L193,451L193,452L192,453L191,458L189,461L188,465L188,469L187,473L184,481L186,477L184,481L184,481L184,481L182,485L179,493L176,499L173,503L171,506L167,508L167,512L165,516L163,520L164,524L168,522L170,519L171,518L169,523L165,525L165,530L169,531L169,535L167,540L167,545L165,551L164,555L162,559L163,563L167,563L173,565L177,567L183,564Z M171,518L171,518L174,516L171,518Z",
	/*var src = jsdom.env('<path d="'+src+'" />');
	
	path = kartograph.geom.Path.fromSVG(src)
	
	if (src != path.toSVG()) {
		console.log(src);
		console.log(path.toSVG());
		throw "svg > path > svg conversion error";
	}
	
} catch (er) {
	console.log('[kartograph.Path] test failed: '+er);
}

*/